add_subdirectory(Lock)
add_subdirectory(SQL)
add_subdirectory(Http)
add_subdirectory(ProcessPool)

SET(SRC_LIST ./Main/main.cpp)

ADD_EXECUTABLE(WebServer ${SRC_LIST})
SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
TARGET_LINK_LIBRARIES(WebServer module_sqlconnection_pool)
TARGET_LINK_LIBRARIES(WebServer module_locker)
TARGET_LINK_LIBRARIES(WebServer module_process_pool)